package com.ln.lnzw.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.ln.lnzw.R;
import com.ln.lnzw.bean.MineCollectionNetbean;
import com.ln.lnzw.bean.WcmBean;

import java.util.List;

/**
 * Created by wuwei on 2018/4/2.
 */

public class MineCollectionAdapter extends BaseQuickAdapter<MineCollectionNetbean.ResultBean.ListBean,BaseViewHolder> {

    public MineCollectionAdapter(int layoutResId, @Nullable List<MineCollectionNetbean.ResultBean.ListBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, MineCollectionNetbean.ResultBean.ListBean item) {
       helper.setText(R.id.tv_name,item.getItemTitle());
       helper.setText(R.id.time,item.getUpdatedTime());
    }
}
